/**
 * 2025/01/01 - 2025/12/31
 */
package com.snail.starter.lock.redis;

import com.snail.starter.lock.AbstractLockImpl;
import com.snail.starter.lock.LockTypeEnums;

/**
 *
 * @author zgadmin
 * @date 2025/6/25 17:05
 *
 */
public class RedisLockImpl extends AbstractLockImpl {

    @Override
    public boolean support(LockTypeEnums lockTypeEnum) {
        return LockTypeEnums.REDIS_LOCK.getType() == lockTypeEnum.getType();
    }

    @Override
    public LockTypeEnums getType() {
        return LockTypeEnums.REDIS_LOCK;
    }

    @Override
    public boolean lock() {
        return false;
    }

    @Override
    public boolean unLock() {
        return false;
    }
}